#!/usr/bin/env bash

cd `dirname $0`
[ ! -d logs ] && mkdir logs

conf_file=conf/nginx.conf

# test conf file
nginx  -p `pwd` -t -c $conf_file

# start
nginx -p `pwd`/ -c $conf_file
